#define _CRT_SECURE_NO_WARNINGS 1
#include "stack.hpp"

int main()
{
	//Stack<int> st;
	//st.push(1);
	//st.push(2);
	//st.push(3);
	//st.pop();
	//while (st.empty() == false)
	//{
	//	cout << st.top() << endl;
	//	st.pop();
	//}
	Queue<int> q;
	q.push(1);
	q.push(2);
	q.push(3);
	q.push(4);
	q.pop();
	while (q.empty() == false)
	{
		cout << q.front() << endl;
		q.pop();
	}
	return 0;
}